SET(drishtilauncher_SOURCES 
  launcher.cpp 
  main.cpp)

SET(drishtilauncher_HEADERS 
  launcher.h)

SET(drishtilauncher_FORMS
  launcher.ui)

SET(drishtilauncher_RESOURCES launcher.qrc)

QT4_WRAP_CPP(drishtilauncher_HEADERS_MOC ${drishtilauncher_HEADERS})
QT4_WRAP_UI(drishtilauncher_FORMS_HEADERS ${drishtilauncher_FORMS})
QT4_ADD_RESOURCES(drishtilauncher_RESOURCES_RCC ${drishtilauncher_RESOURCES})

INCLUDE(${QT_USE_FILE})
ADD_DEFINITIONS(${QT_DEFINITIONS})

ADD_EXECUTABLE( drishtilauncher 
    ${drishtilauncher_SOURCES} 
    ${drishtilauncher_HEADERS_MOC}
    ${drishtilauncher_FORMS_HEADERS} 
    ${drishtilauncher_RESOURCES_RCC})
TARGET_LINK_LIBRARIES(drishtilauncher 
   ${QT_LIBRARIES} ${QGLVIEWER_LIBRARIES}
   ${OPENGL_LIBRARIES} ${GLUT_LIBRARY} ${GLEW_LIBRARY}
   ${NETCDF_LIBRARIES_CXX})

INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR} )

INSTALL (TARGETS drishtilauncher DESTINATION ${BIN_INSTALL_DIR})





